import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../components/Home'
import More from '../components/More'

Vue.use(VueRouter)

const routes = [

  
      {
        // 主页
        path: '/home', component: Home
      },
      {
        // 更多
        path: '/', component: More
      }
    
  
  

]

const router = new VueRouter({
  // mode: "history",
  // base: process.env.BASE_URL,
  routes
})

export default router
